<?php if ($post['Post']['title']) { ?>
	<div id="post-<?php e($post['Post']['id']);?>" class="hentry post">
		<h1 class="entry-title"><?php e($post['Post']['title']);?></h1>
		<span class="post-info">Posted by <?php e($html->link($post['User']['username'], '/users/view/' . $post['User']['id'], array('class'=>'author'))) ;?> on <abbr class="updated" title="<?php e($time->format('Y-m-d\TH:i:s\Z', $post['Post']['created']));?>"><?php e($time->format('D d M Y @ H:m',$post['Post']['created']));?></abbr></span>
		<div style="display:none" class="entry-summary"><em><?php e($post['Post']['byline']);?></em></div>
		<div class="post-body entry-content">
			<?php e($post['Post']['body']);?>
		</div>
		<div id="licence">
			<?php e($post['Copyright']['licence']);?>
		</div>
	</div>
<?php } else { ?>
	<div id="post-none" class="post">
		<h2>Post does not exist</h2>
	</div>
<?php } ?>

<?php if($enable_comments == 1) { e($this->renderElement('comments')); } ?>